<div class="Content">
	<div class="column grid_8">
		<div class="column grid_7">
			<div class="FormTitle"> <h2>Project Management</h2> </div>

<?php  
	$this->load->helper('form');
	echo validation_errors();
	echo form_open('project/searchProject');
?>
<div id="Form_content">
	<label for="projectCode">Project Code</label>
	<input type="textbox" name="projectCode" id="projectCode" value="" />
	<input type="submit" value="Search" />
	</form>
	</div>
	</div>
<div class="column grid_7">
<div id="Form_content">	
<?php echo form_open('project/updateProject'); ?>
<table id="display-list" cellpadding="2">
	<tr>
		<th>Project code</th>
		<th>Title</th>
		<th>Start date</th>
	</tr>
	<?php foreach($projects as $project):?>
	<tr>
		<td><input type="checkbox" name="projectCode" value="<?php echo $project->projectCode; ?>" /><?php echo $project->projectCode; ?></th>
		<td><?php echo $project->title; ?></th>
		<?php /*?><td><?php echo $project->customerCode; ?></th>
		<td><?php echo $project->siteCode; ?></th><?php */?>
		<td><?php echo $project->startDate; ?></th>
		<?php /*?><td><?php echo $project->endDate; ?></th>
		<td><?php echo $project->duration; ?></th><?php */?>
	</tr>
	<?php endforeach;?>
	<tr>
		<td><input type="submit" value="edit" /></td>
	</tr>
</table>
</form>
	</div>
	</div>
	</div>
</div>